<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" language="java" %>
<html>
<head>
    <title>insert teacher</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        form {
            background-color: #ffffff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        h1 {
            text-align: center;
            color: #333;
        }

        p {
            margin-bottom: 15px;
        }

        input {
            width: 100%;
            padding: 8px;
            margin-bottom: 10px;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-radius: 4px;
        }

        .button {
            background-color: #4caf50;
            color: #fff;
            border: none;
            padding: 10px 15px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            border-radius: 4px;
            cursor: pointer;
        }

        .button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>
<form action="/insertTeacher" method="post">
    <h1 id="loginMsg">注册教师信息</h1>
    <p>教师号:<input id="id" name="id" type="text"></p>
    <p>教师姓名:<input id="name" name="name" type="text"></p>
    <p>教师性别:
        <select id="sex" name="sex">
            <option value="男">男</option>
            <option value="女">女</option>
        </select>
    </p>
    <p>教师年龄:<input id="age" name="age" type="text"></p>
    <p>职称:<input id="office" name="office" type="text"></p>
    <p>电话:<input id="phone" name="phone" type="text"></p>
    <input type="submit" class="button" value="录入">
    <input type="button" class="button" onclick="window.location.href='adminHome'" value="返回">
</form>
</body>
</html>